From: Florian Müllner Date: Thu, 8 Nov 2018 09:47:25 +0000 (+0100) Subject: workspaces: Use correct schema for workspace settings X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2~1^2~56 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f1195ecb013e930899866a5cbc5f20dccf5417f8;p=gnome-shell.git workspaces: Use correct schema for workspace settings The custom overrides system is gone, we need to use the original mutter schema. https://gitlab.gnome.org/GNOME/gnome-shell/issues/768 --- diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index 0aa27cb8a..ac187bbe3 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -31,7 +31,7 @@ var WORKSPACE_CUT_SIZE = 10; var WORKSPACE_KEEP_ALIVE_TIME = 100; -var OVERRIDE_SCHEMA = 'org.gnome.shell.overrides'; +var MUTTER_SCHEMA = 'org.gnome.mutter'; /* A layout manager that requests size only for primary_actor, but then allocates all using a fixed layout */ @@ -674,7 +674,7 @@ var ThumbnailsBox = new Lang.Class({ Main.overview.connect('window-drag-cancelled', this._onDragCancelled.bind(this)); - this._settings = new Gio.Settings({ schema_id: OVERRIDE_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: MUTTER_SCHEMA }); this._settings.connect('changed::dynamic-workspaces', this._updateSwitcherVisibility.bind(this)); diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 4c97094aa..47993e393 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -24,7 +24,7 @@ var AnimationType = { FADE: 1 }; -const OVERRIDE_SCHEMA = 'org.gnome.shell.overrides'; +const MUTTER_SCHEMA = 'org.gnome.mutter'; var WorkspacesViewBase = new Lang.Class({ Name: 'WorkspacesViewBase', @@ -473,7 +473,7 @@ var WorkspacesDisplay = new Lang.Class({ this._workspacesViews = []; this._primaryScrollAdjustment = null; - this._settings = new Gio.Settings({ schema_id: OVERRIDE_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: MUTTER_SCHEMA }); this._settings.connect('changed::workspaces-only-on-primary', this._workspacesOnlyOnPrimaryChanged.bind(this)); this._workspacesOnlyOnPrimaryChanged();